package method;

public class methodDemo8 {
    public static void main(String[] args) {
        int a=10;
        method(a);
        System.out.println("a="+a);//a=10
    }
    public static void method(int a){
        a=a+2;
    }
}
